package cn.com.nes.site.controller.crm.opportunity.vo;

import cn.com.nes.site.entity.vo.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

@ApiModel("商机联系人保存入参模型")
@Data
public class OpportunityStaffSaveVO extends BaseVO {

    @ApiModelProperty(value = "商机联系人UUID")
    private String uuid;

    @ApiModelProperty(value = "商机UUID", required = true)
    @NotBlank(message = "商机")
    private String opportunityUuid;

    @ApiModelProperty(value = "客户UUID", required = true)
    @NotBlank(message = "客户")
    private String customerUuid;

    @ApiModelProperty(value = "客户联系人ID",required = true)
    @NotNull(message = "客户联系人")
    private String customerStaffId;

    @ApiModelProperty(value = "联系人名称",required = true)
    @NotBlank(message = "联系人名称")
    private String name;

    @ApiModelProperty(value = "联系人电话",required = true)
    @NotBlank(message = "联系人电话")
    private String phone;

    @ApiModelProperty(value = "部门")
    private String department;

    @ApiModelProperty(value = "职位")
    private String post;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "主联系人")
    private String isman;

    @ApiModelProperty(value = "微信")
    private String wechat;
    @ApiModelProperty(value = "是否是户主")
    private Integer isHousehold;
}
